import { Module } from "@nestjs/common";
import { OrgCantroller } from './org.controller'
import { TypeOrmModule } from "@nestjs/typeorm";
import { OrgClosure, OrgEntity } from "./entity/org.entity";
import { OrgService } from "./org.service";
import { OrgRepository } from "./org.repository";

@Module({
  imports: [
    TypeOrmModule.forFeature([
      OrgEntity,
      OrgClosure
    ])
  ],
  controllers: [OrgCantroller],
  providers: [OrgService, OrgRepository]
})
export class OrgModule { }